package it.test.thread.simple;

import java.util.concurrent.Callable;

/**
 * @Copyright 纳新智能科技有限公司
 * @Author Liky
 * @Date 2023/6/30
 */
public class ThreadCreateThree implements Callable {
    @Override
    public String call() throws Exception {
        for (int i = 0; i <= 9; i++) {
            System.out.println("通过实现Callable创建线程--第" + i + "次");
        }
        return "执行完成";
    }
}
